/* Upload modal styles */
.file-drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  background-color: var(--background-alt);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.file-drop-zone:hover,
.file-drop-zone-focus {
  border-color: var(--primary);
  background-color: rgba(59, 130, 246, 0.05);
}

.file-drop-zone-icon {
  font-size: 2.5rem;
  color: var(--text-light);
}

.file-drop-zone-text {
  font-weight: 500;
}

.file-drop-zone-hint {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Upload items container */
.upload-items-container {
  margin-top: 1.5rem;
}

.upload-items-header {
  display: grid;
  /* Columns: Destination, Size, Status */
  grid-template-columns: 1fr 120px 80px; 
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: left;
}

.upload-items-list {
  max-height: 40vh; /* Adjust height */
  overflow-y: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

/* Individual Upload item styles */
.upload-item {
  display: grid;
  grid-template-columns: 1fr 120px 80px; 
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.upload-item:last-child {
  border-bottom: none;
}

.upload-item-done {
  /* Optional: subtle background for completed items */
  /* background-color: rgba(16, 185, 129, 0.05); */
}

.upload-item-error {
  background-color: rgba(239, 68, 68, 0.1);
}

.upload-item .form-control {
  font-size: 0.85rem; 
  padding: 0.375rem 0.75rem;
}

/* Destination File column styling */
.file-destination-column {
  display: flex;
  align-items: center; /* Vertically align text/input and icon */
  gap: 0.5rem; /* Space between text/input and icon */
  overflow: hidden; 
}

.file-destination-display {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.85rem;
  line-height: 1.3;
  flex-grow: 1; /* Allow text to take available space */
  cursor: pointer; /* Indicate clickability */
  padding: 0.375rem 0; /* Align vertically with input */
}

.upload-item .file-size {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-light);
  text-align: left;
}

.upload-item .upload-progress {
  height: 8px;
  margin-bottom: 0;
  width: 100%; /* Ensure progress takes full width */
}

.upload-item .upload-status {
  display: flex;
  /* Removed justify-content: center */
  justify-content: flex-start; /* Align status icons/progress left */
  align-items: center;
  padding-left: 0.5rem; /* Add some padding */
}

.upload-item .upload-status .text-success,
.upload-item .upload-status .text-danger {
  font-size: 1.1rem;
}

.edit-destination-button {
  /* Removed absolute positioning */
  background: none;
  border: none;
  color: var(--text-light);
  padding: 0;
  margin: 0;
  line-height: 1;
  opacity: 0.6; /* Slightly visible */
  transition: opacity 0.2s ease, color 0.2s ease;
  cursor: pointer;
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.edit-destination-button:hover {
  color: var(--primary);
  opacity: 1;
}

/* Ensure input still takes full width within its flex container */
.file-destination-column > .form-control {
  flex-grow: 1;
} 